package com.example.lenovo.localphotos_lxy.bean;

/**
 * Created by lenovo on 2017/8/16.
 */

public class ImageFloder {

    /**
     * 图片的文件夹路径
     */
    private String dir;

    /**
     * 第一张图片的路径
     */
    private String firstImagePath;

    /**
     * 文件夹的名称
     */
    private String name;

    /**
     * 图片的数量
     */
    private int count;

    private boolean  isSelected;

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDir(){
        return dir;
    }

    public void setDir(String dir){
        this.dir = dir;
        int lastIndexOf = this.dir.lastIndexOf("/");
        this.name = this.dir.substring(lastIndexOf);
    }

    public String getFirstImagePath(){
        return firstImagePath;
    }

    public void setFirstImagePath(String firstImagePath){
        this.firstImagePath = firstImagePath;
    }

    public String getName(){
        return name;
    }
    public int getCount(){
        return count;
    }

    public void setCount(int count){
        this.count = count;
    }


}
